package com.atwisdom.star.core.bsl.functionClass;

import com.alibaba.fastjson.JSONObject;
import com.atwisdom.star.common.vo.ActionData;
import com.atwisdom.star.common.vo.PageInfo;
import com.atwisdom.star.common.vo.ResultInfo;
import com.atwisdom.star.exception.pojo.BusinessException;

import java.util.List;

public interface ComponentBslService {

    ResultInfo<?> add(ActionData<JSONObject> actionData);

    ResultInfo<?> batchAdd(ActionData<JSONObject> actionData);

    ResultInfo<?> update(ActionData<JSONObject> actionData);

    ResultInfo<?> batchUpdate(ActionData<JSONObject> actionData);

    ResultInfo<?> deleteByIds(ActionData<JSONObject> actionData);

    ResultInfo<?> query(ActionData<JSONObject> actionData);

    ResultInfo<?> queryById(ActionData<JSONObject> actionData);

    ResultInfo<?> queryValue(ActionData<JSONObject> actionData);

    ResultInfo<?> queryConfig(ActionData<JSONObject> actionData);

    ResultInfo<?> queryInfo(ActionData<JSONObject> actionData);

    ResultInfo<?> queryByIds(ActionData<JSONObject> actionData);

    ResultInfo<?> queryByPage(ActionData<JSONObject> actionData);

    ResultInfo<?> queryInfoByPage(ActionData<JSONObject> actionData);
}
